<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@include file="../common/init.jsp"%>
<%@ page import="com.gopay.cashier.web.utils.CashierConfig" %>
<%@ page import="org.apache.shiro.SecurityUtils" %>
<%@ page import="com.gopay.cashier.domain.bean.LoginUser" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>国付宝-收银台</title>
    <meta name="Author" content="" />
    <meta name="Keywords" content="" />
    <meta name="Description" content="" />
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <link type="text/css" rel="stylesheet" href="${ctx}/static/00100/stylesheets/reset.css" media="all" />
    <link type="text/css" rel="stylesheet" href="${ctx}/static/00100/stylesheets/jquery-ui.css" media="all" /> 
    <!-- link type="text/css" rel="stylesheet" href="${ctx}/static/css/ui-lightness/jquery-ui-1.10.0.custom.min.css" media="all" />-->
    <link type="text/css" rel="stylesheet" href="${ctx}/static/00100/stylesheets/style.css" media="all" />
    <script type="text/javascript" src="${ctx}/static/00100/javascripts/jquery.js"></script>
    <script type="text/javascript" src="${ctx}/static/00100/javascripts/jquery-ui.min.js"></script>
    <script type="text/javascript" src="${ctx}/static/00100/javascripts/jquery.gopay.ext.js"></script>
    <%--<script type="text/javascript" src="${ctx}/static/00100/javascripts/gopay/PwdControl.js"></script>--%>
    <!--[if IE 6]>
    <script src="${ctx}/static/00100/javascripts/png_ie6fix.js" type="text/javascript"></script>
    <script type="text/javascript">
        EvPNG.fix("div, span,a");
    </script>
    <![endif]-->
    <script type="text/javascript">
        var  ctx = '${ctx}';
    </script>
</head>
<body>
<div class="topbar">
    <div class="grid-1000 fix">
        <div class="floatRight">
            <shiro:authenticated>
                <%
                    LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal();
                    String title = user.getTitle();
                    String email = user.getUser().getEmail();
                %>
                <span class="pgweb-icon-userinfo">您好!&nbsp;<%=title%></span>

                <a class="pgweb-icon-out" href="${ctx }/logout.shtml?orderKey=<%=request.getParameter("orderKey")%>&orderId=<%=request.getParameter("orderId")%>&gopayUser=<%=email%>">退出</a>
            </shiro:authenticated>

            <a href="http://weibo.com/gfb0125" class="icon-weibo">国付宝微博</a> | <a href="https://www.gopay.com.cn/helpcenterV2/channel-7100.html" class="icon-helper">帮助中心</a>
        </div>

    </div>
</div>
<div class="header">
    <div class="grid-1000 fix">
        <div class="logo">
             <img src="${ctx}/static/00100/images/logo.png" />
        </div>
        <div class="cashier">
            收银台
        </div>
        <div class="prompt">
            <span></span>
        </div>
    </div>
</div>
